<template>
<div class="list">
    <div class="list-item" v-for="(i,index) in list" :key="index">
        <span>{{i.title}}</span>
        <div>
        <span>￥{{i.money}}</span>
        <i class="el-icon-arrow-right"/>
        </div>
    </div>
</div>
</template>

<script>
export default {
  name: "ListItem",
  props: {
    list: {
      type: Array,
    },
  },
};
</script>

<style lang="scss" scoped>

.list{
  
    border-radius: 5px;
    background-color: #fff;
}
.list-item{
    display: flex;
 
    justify-content: space-between;
    align-items: center;
    height: 45px;
    font-size: 15px;
    color: rgb(85, 84, 83);
    border-radius: 5px;
    padding: 0px 10px 0px 10px;
}
</style>